package com.github.admin.edu.orm.entity;

import javax.persistence.*;

/**
 * Created by IntelliJ IDEA.
 * user:wangj
 * date:2018/4/18
 * Time: 20:33
 */
@Entity
@Table(name = "T_SEQUENCE")
public class TSequence {
    private String name;
    private Long id;
    private Long rangeNo;
    private Long rangeSize;

    @Id
    @Column(name = "NAME")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Basic
    @Column(name = "ID")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Basic
    @Column(name = "RANGE_NO")
    public Long getRangeNo() {
        return rangeNo;
    }

    public void setRangeNo(Long rangeNo) {
        this.rangeNo = rangeNo;
    }

    @Basic
    @Column(name = "RANGE_SIZE")
    public Long getRangeSize() {
        return rangeSize;
    }

    public void setRangeSize(Long rangeSize) {
        this.rangeSize = rangeSize;
    }
}
